<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>邀请好友</title>
    <link rel="stylesheet" href="./css/reset.css">
    <link rel="stylesheet" href="./css/common.css">
    <link rel="stylesheet" href="./css/invite.css">
</head>
<body>
    <div id="invite">
        <img src="./img/invite/gift_bg.jpg" alt="">
        <div class="logo"><img src="./img/logo.png" alt=""></div>
        <h1>恭喜您获得了[ 新春大奖 ]!</h1>
        <p>价值<span>rmb 2400元</span>舒适透气薄垫</p>
        <div class="prize"><img src="./img/invite/gift_te.png" alt=""></div>
        <h2>您今天还有两次抽奖机会，<br/>邀请好友参与可获得额外一次机会！</h2>
        <button id="btn_invite">邀请好友</button>
        <div id="mask"></div>
        <div class="share">
            <img src="./img/invite/share_bear.png" alt="">
        </div>
        <div class="logoImg">
            <img src="./img/invite/share_logo.png" alt="">
        </div>
    </div>
    

    <script src="./js/jquery-2.1.0.js"></script>
    <script>
        $("#btn_invite").on("click",function(){
            $("#mask").css({"display":"block"});
            $(".share").css({"display":"block"});
        })
        $("#mask").on("click",function(){
            location.href = "./user.html";
        })
        $(".share").on("click",function(){
            location.href = "./user.html";
        })
    </script>
</body>
</html>